package Test;

import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 封装请求参数类
 *     要求如下：
 *      a.属性名与请求参数名一致。
 *      b.提供响相应的get/set方法
 *      
 *      
 *      
 * @author tarena
 *
 */
public class User {
	private String username;
	private String pwd;
	public User(){}
	public User(String username, String pwd) {
		super();
		this.username = username;
		this.pwd = pwd;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	@Override
	public String toString() {
		return "username=" + username + ", pwd=" + pwd + "";
	}
	
	
	
	
	
	
}
